Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Sprite's Bounding Box

A sprite's bounding box and its four corners are both expressed in its track's local coordinate system.

The bounding box of a sprite, shown in Figure 1-4 , is the smallest rectangle that encloses the sprite's area after its matrix is applied. If a sprite is only translated, its bounding box will have the same dimensions as its source box. However, if the sprite is rotated 45 degrees, the bounding box may be larger than its source box.

Figure 4 A bounding box in a sprite track's local coordinate system


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |